package com.ruoyi.douyin.controller;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.douyin.service.FansService;
import com.ruoyi.web.controller.tool.AuthenCheckServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@RestController
@RequestMapping("/fans")
public class FansController {
    @Autowired
    private FansService fansService;

    /**
     * 粉丝列表
     */
    @PostMapping("/list")
    public AjaxResult fansList(@RequestBody List<String> originOpenId) {
        return fansService.fansList(originOpenId);
    }
}
